package com.lc.sell.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 用于显示订单列表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderListDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单id")
    private String order_no;

    @ApiModelProperty("订单总价")
    private BigDecimal amount;

    @ApiModelProperty("支付方式（1-微信支付 0-余额支付）")
    private Integer payStatus;

    @ApiModelProperty("创建时间")
    private String created_at;

    @ApiModelProperty("完成时间")
    private String completed_time;

    @ApiModelProperty("取餐号")
    private String sort_num;

    @ApiModelProperty("订单备注")
    private String remark;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("商品单价")
    private BigDecimal price;

    @ApiModelProperty("商品数量")
    private Integer number;

    @ApiModelProperty("商品属性")
    private String props_text;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("商家id")
    private Integer mid;

    @ApiModelProperty("订单状态")
    private Integer status;


}
